<template>
  <div id="headNav">
    <div class="headNav-ul">
      <div class="headNav-li" v-for="(item,index) in liData.list">{{ item.name }}</div>
    </div>
  </div>

</template>

<script>
export default {
  components: {
    
  },
  data() {
    return {
      liData:
        {
          list:[{
            name: '首页',
            url: ''
          },{
            name: '全部商品',
            url: ''
          },{
            name: '线下网点',
            url: ''
          },{
            name: '五金工具',
            url: ''
          },{
            name: '家装建材',
            url: ''
          },{
            name: '手动工具',
            url: ''
          }]
        }
      
    }
  },
  props: [],
  created() {

  },
  methods: {

  }
}
</script>

<style scoped lang="scss">
#headNav{
  width: 100%;
  height: 46px;
  line-height: 46px;
  background: #255B8B;
  .headNav-ul{
    width: 1200px;
    height: 46px;
    line-height: 46px;
    margin: 0 auto;
    .headNav-li{
      color: #fff;
      font-size: 16px;
      margin-right: 50px;
      float: left;
      cursor: pointer;
    }
  }
}
</style>
